package cn.com.haopy.dataes.db.entity.main;

import cn.com.haopy.dataes.db.entity.MainBaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.apache.ibatis.type.JdbcType;

@Data
@TableName(value = "hd_storage", autoResultMap = true)
public class HDStorage extends MainBaseEntity {
    @TableField(value = "`key`", jdbcType = JdbcType.VARCHAR)
    String key;

    @TableField(value = "`name`", jdbcType = JdbcType.VARCHAR)
    String name;

    @TableField(value = "type", jdbcType = JdbcType.VARCHAR)
    String type;

    @TableField(value = "size", jdbcType = JdbcType.INTEGER)
    Integer size;

    @TableField(value = "url", jdbcType = JdbcType.VARCHAR)
    String url;
}
